<?php
	if( ! isset($header)) $header =array('title'=>'D-app');
$this->load->view("{$template}/header",$header);
?>

										<?php echo $content; ?>			

<?php 
$this->load->view("{$template}/footer");
 ?>